Page({

  gotoCancelAccount: function() {
    wx.showModal({
      title: '确认注销',
      content: '注销后账号无法恢复，请谨慎操作！',
      success: function(res) {
        if (res.confirm) {
          wx.navigateTo({
            url: '../zhuxiao/zhuxiao'
          });
        } else if (res.cancel) {
          console.log('用户点击取消');
        }
      }
    });
  }
})